﻿using System;
using OA.DBUtility;

namespace OA.Model
{
	/// <summary>
	/// Education:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    [MappingTable("Education")]
	public partial class EducationInfo
	{
		public EducationInfo()
		{}
		#region Model
		private int _id;
		private DateTime? _starttime;
		private DateTime? _endtime;
		private string _schoolname;
		private string _speciality;
		private string _traininginstitutions;
		private string _degreename;
		private string _educationname;
		private decimal? _trainingfee;
		private string _payfeecompany;
		private bool? _issignprotocol;
		private DateTime? _servicetime;
		private int _educationtype=0;
		/// <summary>
		/// 
		/// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("StartTime")]
		public DateTime? StartTime
		{
			set{ _starttime=value;}
			get{return _starttime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EndTime")]
		public DateTime? EndTime
		{
			set{ _endtime=value;}
			get{return _endtime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("SchoolName")]
		public string SchoolName
		{
			set{ _schoolname=value;}
			get{return _schoolname;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Speciality")]
		public string Speciality
		{
			set{ _speciality=value;}
			get{return _speciality;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("TrainingInstitutions")]
		public string TrainingInstitutions
		{
			set{ _traininginstitutions=value;}
			get{return _traininginstitutions;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("DegreeName")]
		public string DegreeName
		{
			set{ _degreename=value;}
			get{return _degreename;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EducationName")]
		public string EducationName
		{
			set{ _educationname=value;}
			get{return _educationname;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("TrainingFee")]
		public decimal? TrainingFee
		{
			set{ _trainingfee=value;}
			get{return _trainingfee;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("PayFeeCompany")]
		public string PayFeeCompany
		{
			set{ _payfeecompany=value;}
			get{return _payfeecompany;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("IsSignProtocol")]
		public bool? IsSignProtocol
		{
			set{ _issignprotocol=value;}
			get{return _issignprotocol;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ServiceTime")]
		public DateTime? ServiceTime
		{
			set{ _servicetime=value;}
			get{return _servicetime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EducationType")]
		public int EducationType
		{
			set{ _educationtype=value;}
			get{return _educationtype;}
		}
		#endregion Model

	}
}

